package com.test.webfluxhtml.common;

public class CommonResult<T> {

    private String message;

    private Integer state;

    private  T value;

    public CommonResult(Integer state,String message) {
        this.message = message;
        this.state = state;
    }

    public CommonResult(Integer state, String message,  T value) {
        this.message = message;
        this.state = state;
        this.value = value;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public T getValue() {
        return value;
    }

    public void setValue(T value) {
        this.value = value;
    }
}
